package net.hg.service.impl;

import net.hg.dao.ThirdDtDao;
import net.hg.entity.ThirdDt;
import net.hg.service.ThirdDtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ThirdDtServiceImpl implements ThirdDtService {

    @Autowired
    private ThirdDtDao thirdDtDao;

    @Override
    public int remove(Integer id) {
        return thirdDtDao.deleteById(id);
    }

    @Override
    public int update(ThirdDt thirdDt) {
        return thirdDtDao.update(thirdDt);
    }
}

